import request from '@/utils/request'

// 查询工单列表
export function listOrder(data) {
  return request({
    url: '/system/order/list',
    method: 'post',
    data: data
  })
}

// 查询工单详细
export function getOrder(data) {
  return request({
    url: '/system/order/detail/list',
    method: 'post',
    data: data
  })
}

// 新增回复
export function addMsg(data) {
  return request({
    url: '/system/order/detail',
    method: 'post',
    data: data
  })
}

// 删除工单
export function delOrder(data) {
  return request({
    url: '/system/order/batchDelete',
    method: 'post',
    data: data
  })
}
